package top.purity.server.tenant.domain.repository;

import top.purity.server.tenant.domain.TenantMenu;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Collection;

/**
 * @version 1.0
 * @Author Lmh
 * @Description
 * @CreateTime 2023-09-24 15:16
 */

public interface TenantMenuRepository extends JpaRepository<TenantMenu, Long> {

    Collection<TenantMenu> getTenantMenuDOByIdIn(Collection<Long> ids);

    TenantMenu getTenantMenuDOByMenuUriLike(String menuUri);

}
